home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12492 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: howland.reston.ans.net!agate!parsons
  2. From: parsons@vouvray.CS.Berkeley.EDU (David C. Parsons)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Need help on static data members of class templates
  5. Date: 20 Mar 1996 06:40:04 GMT
  6. Organization: University of California, Berkeley
  7. Message-ID: <4io984$3i9@agate.berkeley.edu>
  8. References: <4ig6pf$aqp@agate.berkeley.edu> <4ihj4i$2ni@news5.erols.com>
  9. NNTP-Posting-Host: vouvray.cs.berkeley.edu
  10.  
  11. In article <4ihj4i$2ni@news5.erols.com>, Chris Cobb  <ccobb@erols.com> wrote:
  12.  
  13. > I tried your code under Borland C++.  It compiles and produces the
  14. > following output:
  15. >    ...correct output deleted...
  16.  
  17. That's too bad; I was hoping I was missing something.  There's not much
  18. I can do about my compiler's deficiencies I guess.  (I did find a
  19. workaround, which was to use a member function in place of the static
  20. variable.)
  21.  
  22. > What version of gcc are you using and what platform?
  23.  
  24. It's gcc version 2.7.2, on an HP 715 workstation.  Is gcc known to have
  25. trouble with some template features?
  26.  
  27. Thanks for your help!
  28.  
  29. David Parsons
  30.